/**
 * http://usejsdoc.org/
 */
var buf = new Buffer('www.runoob.com');
var json = buf.toJSON(buf);
console.log(json);